<!-- $Id: mshop_info.htm 14361 2008-04-07 09:26:17Z zhuwenyuan $ -->
{include file="pageheader.htm"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<style>
.span_info{  padding-left: 10px; cursor:pointer;}
 .span_info a{    color: #666;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    border: 1px solid #278296;
    border-right: 2px solid #278296;
    border-bottom: 2px solid #278296;
    background: #DDEEF2 url(../images/icon_add.gif) no-repeat 3px center;
}}
</style>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
{insert_scripts files="validator.js,../js/transport.js}
<div class="main-div">
<form method="post" action="mshop_pay_log.php" name="theForm" onsubmit="return validate();">
<table border="0" width="100%">
  <tbody><tr>
    <td colspan="2"><strong>提现信息：</strong><hr></td>
  </tr>
      <tr>
    <th width="15%" valign="middle" align="right">提现旅行社：</th>
    <td width="85%">
    <select name="mshop_id">
    <option value="">请选择旅行社</option>      
      {foreach from=$mshops item=mshop}
       <option value="{$mshop.mshop_id}" >{$mshop.mshop_name}</option>
       {/foreach}
    </select>

    </td>
  </tr>
  

    <tr>
    <th width="15%" valign="middle" align="right">提现金额：</th>
    <td width="85%">
      <input type="text" name="pay_fee" />
    </td>
  </tr>    
  <tr>
    <th width="15%" valign="middle" align="right">提现账户：</th>
    <td width="85%">
       <textarea name="mch_billno" cols="55" rows="2"></textarea>范例：工商银行283883892998892
    </td>
  </tr>
  <tr>
    <th width="15%" valign="middle" align="right">管理员备注：</th>
    <td width="85%">
      <textarea name="remark" id="remark" cols="55" rows="5"></textarea>
    </td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td>
     <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="{$form_action}" />
    </td>
  </tr>
</tbody></table>
</form>
</div>

{literal}
<script language="JavaScript">
<!--
/**
 * 检查表单输入的数据
 */
function validate()
{
	 var mshop_id = document.forms['theForm'].elements['mshop_id'].value;
	 var pay_fee = document.forms['theForm'].elements['pay_fee'].value;
	 var mch_billno = document.forms['theForm'].elements['mch_billno'].value;
	 
	 if(!mshop_id||!pay_fee||!mch_billno)
	 {
		 alert('旅行社或账户或金额必须填写');
		 return  false;
	 }
	 if(isNaN(pay_fee))
	 {
		 alert('提现金额要求是数字');
		 return  false;
	 }
	 
	 return true;
}

//-->
</script>
{/literal}
{include file="pagefooter.htm"}
